package com.atguigu.executor;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
//@Primary
//@Configuration
@ConfigurationProperties(prefix = "thread.pool")
public class ThreadPoolProperties {
    private Integer corePoolSize = 16;
    private Integer maximumPoolSize = 32;
    private Long keepAliveTime = 50L;
    private Integer queueLength = 1000;
}
